#!/bin/bash

export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig

export PKG_CONFIG_PATH=/mingw64/lib/pkgconfig && ./configure \
	--cross-prefix=x86_64-w64-mingw32- \
	--extra-cflags="-I/mingw64/include" \
	--extra-cxxflags="-I/mingw64/include" \
	--extra-ldflags="-L/mingw64/lib"  \
	--enable-gtk \
	--enable-sdl \
	--enable-opengl \
	--enable-virglrenderer \
	--enable-slirp \
	--enable-nettle \
	--enable-gnutls \
	--enable-rng-none \
	--enable-strip \
	--disable-debug-info

#	--enable-debug

make

rm -rf /qemu/*

make install

